#pragma once

#include <glm/glm.hpp>
#include "component.h"


namespace vortex
{
    class Transform2DComponent : public Component
    {
    public:
        glm::vec2 translation;
        float rotation;

        Transform2DComponent();
        Transform2DComponent(glm::vec2 t, float r);
       
        glm::mat4 GetMatrix() const;
    };

}

